package com.itheima.mapper;


import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {

    int add(@Param("user") User user);

    User findById(@Param("id") String id);

    User findByPhone(@Param("phone") String phone);

}
